 = simple_form_for(@part_purchase, html: {class: 'form-vertical', novalidate: true}, wrapper: :vertical_form) do |o|
      .row  
        .col-md-12.hidden
            = o.input :user_id, input_html: { value: current_user.id }
        .col-md-12
            a href="/suppliers" 增加
            = o.association :supplier, label: '供应商', collection: @suppliers, include_blank: false
            = o.input :note, label: '备注'
            = o.button :submit, "下一步", :class => 'btn btn-primary btn-lg btn-block'
